package studio.raptor.databus.command;

import java.io.Serializable;

/**
 * Created  on 2017/4/25.
 */
public class EventBusinessData implements Serializable {
    /**
     * 数据提供方式(事件内携带完整实体数据/调用数据提供服务获取实体数据)
     */
    private String provideType ;
    /**
     * 数据格式(JSON/XML)
     */
    private String dataType ;
    /**
     * 数据内容
     */
    private String content;
    /**
     * 数据提供服务
     */
    private String dataProvideService;

    public String getProvideType() {
        return provideType;
    }

    public void setProvideType(String provideType) {
        this.provideType = provideType;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getDataProvideService() {
        return dataProvideService;
    }

    public void setDataProvideService(String dataProvideService) {
        this.dataProvideService = dataProvideService;
    }

    @Override
    public String toString() {
        return "EventBusinessData{" +
                "provideType='" + provideType + '\'' +
                ", dataType='" + dataType + '\'' +
                ", content='" + content + '\'' +
                ", dataProvideService='" + dataProvideService + '\'' +
                '}';
    }
}
